<script setup>
import {useRouter} from "vue-router";

const router = useRouter()
const backHome = () => {
  router.push("/home")
}
</script>
<template>
  <a-result status="403"
            title="403"
            sub-title="抱歉，您没有权限访问该页面！">
    <template #extra>
      <a-button type="primary" @click="backHome">返回首页</a-button>
    </template>
  </a-result>
</template>